package chixing.day19.work2;

public class Test2 {
    public static void main(String[] args) {
        TaskManager taskManager = new TaskManager();
        taskManager.registerTask(new GenerateReportTask());
        taskManager.registerTask(new SyncStockTask());
        taskManager.registerTask(new SendInterviewTask());
        taskManager.executeTask("发送面试通知");
        taskManager.executeTask("订单报表");
        taskManager.executeTask("同步库存");
        taskManager.executeTask("发送面试通知");
        taskManager.printHistory("发送面试通知");
    }
}
